Use inttypes.h on FreeBSD.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 20 Apr 2005 14:26:08 +0000 (14:26 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 20 Apr 2005 14:26:08 +0000 (14:26 +0000)
gpsbabel/gbtypes.h

index d519f988db21a5eecf347a714547435a3eb61a3d..bdbc8ce5f6d55063473fa462a04c40ab2eba80f6 100644 (file)
@@ -34,7 +34,11 @@ typedef short gbint16;
 
 #else
 
-#include <stdint.h>
+# if defined (__FreeBSD__)
+#  include <inttypes.h>
+# else
+#  include <stdint.h>
+# endif
 
 typedef uint32_t       gbuint32;
 typedef uint16_t       gbuint16;